import Link from "next/link";

const IDS = [1, 2, 3]
export default function Page() {
  return (
    <main>
      <h1 className="text-4xl">Photo Gallery</h1>
      <p className="text-red-600 font-bold">!!! Bug !!!</p>
      <ol>
        <Link href={`/gallery/help`}>
          <li>help</li>
        </Link>
        <Link href={`/gallery/qa`}>
          <li>Q & A</li>
        </Link>
      { (IDS).map((x:number) => (
        <Link key={x} href={`/photo/${x}`}>
          <li>Photo #{x}</li>
        </Link>
      ))}
      </ol>
    </main>
  )
}
